public class TestDemo {
    public static void main(String[] args) {
ShiYou S1=new ShiYou();
    S1.name="汉";
    S1.Eat();
        System.out.println("======");
    ShiYou S2=new ShiYou();
    S2.name="唐";
    S2.PlayGames();
        System.out.println("======");
    ShiYou S3=new ShiYou();
    S3.name="隋";
    S3.Sleep();
        System.out.println("=====");
    ShiYou S4=new ShiYou();
    S4.name="蜀";
    S4.number=12345678;
    S4.Check();
    }
}
